package com.easylinkin.linkappapi.grid.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.grid.entity.GridReportDay;
import com.easylinkin.linkappapi.grid.models.dto.GridReportDaySaveDTO;
import com.easylinkin.linkappapi.grid.models.query.GridReportDayQuery;
import com.easylinkin.linkappapi.grid.models.vo.GridReportDayInfoVO;
import com.easylinkin.linkappapi.grid.models.vo.GridReportDayListVO;

/**
 * 网格日报表 服务类
 *
 * @author kuyujie
 * @since 2024-05-16
 */
public interface IGridReportDayService extends IService<GridReportDay> {
     /**
      * page
      *
      * @param page
      * @param query
      * @return IPage<GridReportDayListVO>
      * @author kyj
      * @date 2024/5/16 18:36
      */
     IPage<GridReportDayListVO> pageList(IPage<?> page, GridReportDayQuery query);

     /**
      * list
      *
      * @param query
      * @return byte[]
      * @author kyj
      * @date 2024/5/29 19:35
      */
     byte[] export(GridReportDayQuery query);

     /**
      * 保存数据
      *
      * @param dto
      * @return boolean
      * @author kyj
      * @date 2024/5/16 18:36
      */
     void saveData(GridReportDaySaveDTO dto);

     /**
      * 获取详情
      *
      * @param id
      * @return GridReportDayInfoVO
      * @author kyj
      * @date 2024/5/17 19:01
      */
     GridReportDayInfoVO getInfo(Long id);
}